home *** CD-ROM | disk | FTP | other *** search
/ Computer Select (Limited Edition) / Computer Select.iso / pcc / v04n10 / pcx2ex.exe / READ.ME < prev   
Encoding:
Text File  |  1991-09-13  |  1.3 KB  |  49 lines

  1. PCX2EXE
  2.  
  3. This program converts a PCX file to an executable, allowing
  4. you show graphics files on systems without a presentation
  5. program. Just type
  6.  
  7.    PCX2EXE SAMPLE.PCX
  8.  
  9. and the file SAMPLE.EXE will be created in the current
  10. directory. Sample is run just like any other executable and
  11. pressing a key will terminate the display. PCX2EXE supports
  12. 640x480 16 color files and 320x200 256 color files only.
  13.  
  14. You can build presentations with PCX2EXE by displaying your
  15. compiled pcx files from a batch file and using the
  16. errorlevel generated when you press a key.
  17.  
  18. The error levels are set as follows:
  19.     errorlevel 1 = page up
  20.     errorlevel 2 = page down
  21.         errorlevel 0 = any other key
  22.     errorlevel -1 = any error condition
  23.  
  24. Here's an example of how you might use this:
  25.  
  26. @echo off
  27. :frame1
  28. frame1.exe
  29. if errorlevel 2 goto :frame2
  30. if errorlevel 1 goto :frame1
  31. if errorlevel 0 goto :end
  32. :frame2
  33. frame2.exe
  34. if errorlevel 2 goto :frame3
  35. if errorlevel 1 goto :frame1
  36. if errorlevel 0 goto :end
  37. :frame3
  38. frame3.exe
  39. if errorlevel 2 goto :end
  40. if errorlevel 1 goto :frame2
  41. if errorlevel 0 goto :end
  42. :end
  43.  
  44. this batch file will display the previous screen when you
  45. press page up, the next screen when you press page down and
  46. exit when any other key is pressed.
  47.  
  48.  
  49.